/*
 * Label.h
 *
 *  Created on: 18.2.2013
 *      Author: Travis
 */

#pragma once

#include "Form.h"
#include <string>
#include "../console/glFont.h"

namespace Gadgets
{

class Label: public Gadgets::Form
{
public:
	Label(int _width, int _height);
	virtual ~Label();

	virtual void draw();

	const std::string& getCaption() const;
	void setCaption(const std::string& caption);

private:
	std::string caption;
	glFont *text;
};

} /* namespace Gadgets */
